Package com.cisco.pt.ipc.sim.pdu
Interface ICMPv6Message
- All Known Subinterfaces:
EchoMessage,NdMessage,NeighborMessage,PacketTooBigMessage,RouterAdvertisementMessage,RouterSolicitationMessage
- All Known Implementing Classes:
EchoMessageImpl,ICMPv6MessageImpl,NdMessageImpl,NeighborMessageImpl,PacketTooBigMessageImpl,RouterAdvertisementMessageImpl,RouterSolicitationMessageImpl
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()getType()voidsetChecksum(Short checksum) voidvoidsetType(ICMPv6MessageType type) Methods inherited from interface com.cisco.pt.ipc.sim.pdu.Header
getPayload, setPayloadMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
encodeTypeAndPayload, getFieldValue, getOrderedFieldNames, pduRead
-
Method Details
-
getType
ICMPv6MessageType getType()- Returns:
- ICMPv6MessageType Returns a ICMPv6MessageType
-
setType
- Parameters:
type- Takes in a parameter of type
-
getCode
Byte getCode()- Returns:
- Byte Returns a Byte
-
setCode
- Parameters:
code- Takes in a parameter of code
-
getChecksum
Short getChecksum()- Returns:
- Short Returns a Short
-
setChecksum
- Parameters:
checksum- Takes in a parameter of checksum
-